package com.gupao.core;

import java.io.IOException;
import java.io.OutputStream;

/**
 * Created by Devin on 2018/1/9.
 */
public class JResponse {
    private OutputStream outputStream;

    public JResponse(OutputStream outputStream) {
        this.outputStream = outputStream;
    }
    public void write(String content){
        try {
            outputStream.write(content.getBytes());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
